/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package it.unibo.as.client;

import com.google.gwt.user.client.rpc.AsyncCallback;
import java.util.ArrayList;


/**
 *
 * @author Johnny
 */
public interface GWTGameServiceAsync {
    public void fetchTablesPage(int start, int length, AsyncCallback<ArrayList<Table>> callback);

    public void playCard(Card card, AsyncCallback<Boolean> asyncCallback);

    public void createTable(String tableID, Boolean bfourDeals, int nAIPlayers, AsyncCallback<Boolean> asyncCallback);
}
